package com.jinmdz.fmis.dao.dao;

import com.jinmdz.fmis.dao.dao.provider.CremationCertificatePrintingHistoryProvider;
import com.jinmdz.fmis.dao.model.cremation.CremationCertificatePrintingHistoryItem;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.ArrayList;


/**
 * 火化证打印Dao
 *
 * @author GuanKui
 * @date 2020/2/19 15:05
 */
public interface CremationCertificatePrintingHistoryDao {

    /**
     * 根据business_code获取火化证打印历史列表
     *
     * @param businessCode 业务编码
     * @return
     * @author GuanKui
     * @date 2020/2/17 12:45
     */
    @SelectProvider(type = CremationCertificatePrintingHistoryProvider.class, method = "listCremationCertificatePrintingHistoryByBusinessCode")
    ArrayList<CremationCertificatePrintingHistoryItem> listCremationCertificatePrintingHistoryByBusinessCode(@Param("businessCode") String businessCode);

}
